Add test for count leading/trailing zeroes.