Canadian prime minister’s Oval Office test comes a week after being elected on an anti-Trump platform