Added unit tests for UserPermissionLevel