move CaseBlock out of test module
Merge pull request #1158 from dimagi/move-caseblock

move CaseBlock out of test module