unit tests for RequestExecutor