ported verification tests
added dispose listener so work item handlers can react on ksession disposal