Duplicates check test added. resolves #1