More tests for ServiceManager.