corrected test instance_of