Added test for duplicate key value pairs