Add checks to ResponseParser. Refactorings
Add tests for checks.