Add tests for "operation not permitted" error messages