Adding lineage tests for process instances