Move manipulationTestHelper to its own file