Added unit test for Registry#getService()