use service in test