Fixed problems with engineTest() asserts