added a permissions unit test