moved the test helpers into their own file