killing service in tests