test for ambiguities