Added a test for $SERVICE.clearServices