Move utils to the only test that uses them