Add integration test for tddium run with an hg repo
More readable debug output for mimic failure
Fix hg commit log generation
Version bump to 1.22