add basic query test