Added tests for FetchRequestsResource.java.
Added tests for RootResource.java.