new tests for duplication preventation added