Add spec to check duplication.