Pass all NME tests.

This isn't exactly the most elegant way. I guess I have to go make
haxe.unit work with callbacks now >:/