fixed new class test
made arithemtic error message more precise
fixed return node children