Fixed minor bug in response parser. Added test case.