add unittests for requestparser (using mocks). Add unit tests for invalid datachecker