Fixed breakages in compiler tests causes by api changes.