Resolves potential ambiguous function call in test