Added additional test for preventDuplicates, allowing previous to be shown after cleared.