Remove duplicates in a class list so tests aren't duplicated