fixed some problems with the unit test lang
utility to refactor asserts into assert-equals