test: refactor all the tests into a single file