Adding Query Test