Add test for instance_extract. [test]