Added RESTRequest unit test