Add test for remove_instance_variable