Fixed parse_role class and tests are now passing