Update query tests.