Add test case test_unable_to_add_duplicate