Print actual exception in assertion rather than assuming it is a TypeError
Ensure positional args come before kword args