test cases gen for howmany0s