completed writing the test the /apollo/application/ endpoint and its variations