* refactor: move tests to the test dir * try fixing it * try fixing it * fix Redox and FreeBSD * document it