separate test helper from testfile
fix test
add response helpers