Use assert_(not)_undefined to check undefined and use === instead of ==