Fix test that broke due to using ArrayList and not removing
case-insensitive duplicates