adding tests for the Request class