manipulationTestHelper support click manipulations

Depends on #642.
Moved this helper to its own file.