tests for request