ADD feature: save additional data about instances after testcase execution; refactor and fix