unit test assert shall always active (undef NDEBUG always)
fix some extra warnings