Debug tests for isUnique iterator.