increment query tests