Move hacky method used only in test to the test file