check domain to prevent updates between domains
add tests
fix tests explicitly
expand on domain test
fix test util to include domain
Merge pull request #73 from dimagi/safe-case-update

Safe case update