Test Query Result class