There should be an extra test namespace. `phpseclib\Test\` sounds like a good idea to me. Change of directory structure is not necessary, as we can just map `phpseclib\Test\` to `tests/` as per my other comment in bootstrap.php.