Verify that AmbigousCommandError is raised with the matching commands