added parameter comments
compatibility with Haxe 2.x
added unittests for asserts with prefix