added simple local query test