General test framework for Haxe 3