[cache] improve the writethrough test

Hopefully it'll catch the bi_size = 0 issue now.