Added a test for source models with duplicated IDs