tests for services and rpcs