added tests for request