scm: mercurial: add some tests at unit and functional test.
Authored by: tmaruyama 2011-01-05
Parent: [r4634]
Child: [r4636]