testing for protected service