make sure logger uses response parser, and refactor tests a bit