fix error printfs in instance_test