Add an assertion to test/misc.lua