[PAXCDI-112] samples and tests for service scopes