tests for User::requestRights and User::hasRight