tests: migrate the tests to the new files/dirs layout