Corrction of test generation
Update to make the instances measurement work.