Added a test for the new abort() method in the RESTRequest class