added test for new removeAllRoles func