undef fix in Testing/asserts