Add test case for ambiguous sources