Some tests for spaces#user_permissions