Refactor multi-instance crash test. Make crash test also print the instance number of the current 'taskline' being used.