minor test extension
optimise some uses of TypecastNode into coercions