add test for Kernel#instance_variable_defined?