add unit test for Restlet Application resource.