Added CountOnes tests.