Relocate the test code