Reformat querytest.cpp