Add test for duplicate creation