Modifying to allow for a test without a request