Test directions query