Added test for removal of roles, fixes #253