Ported unit testing from MassiveUnit

To haxe built-in unit testing, needed quite some hacks