Fix Mercurial command (cloning and switching on branches), fixes to test report