Add test for duplicated identifiers