updated casehandler tests