Move shared helpers into cf-test-helpers

[#78293086]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>