Move tests source code from "tests" to "src" directory