move CaseBlock out of test module