manipulationTestHelper: slightly more neat logic