unit test Coverage.getHashLength