added test to check if user has the right roles after adding to a workspace