Added a test-case demonstrating the duplication issue