Adds a test for api_request? method.