refactor ResponseTest