Permission unit tests now written and passing.