Fixed ambiguous methods in tests