Added more tests to PermissionModelTest