Update tests to Haxe 3