add unit tests for the contacts dirty and version trigger and fix any bugs found
3 files changed