OpServiceTest: fix warnings