added tests for request and query parser