improve code coverage for scm