Finished QueryTest