extract test utilities to new module
don't fail hard when rebuilding a case with commtrack actions
Merge pull request #173 from dimagi/tweaks

misc tweaks