Move all test code to t/