fix measles condition and add tests
Merge pull request #4089 from dimagi/opm-cz

fix measles condition and add tests