Move test helpers below test cases