Fixed an ambiguity issue in single instance scoping test.