Fix a formatting issue in the test POM
Adding a caching mechanism for the services rather than requrying the
OSGi container every time