added a mock requestparser to properly test request.java