Change tests to haxe's native tests