Fix ServiceManager test.