move commented out test data to separate unit test
ensure that bit count adjustment for small counts never becomes 0