Added removeUserRoles function with tests