scmlib unit tests.