test query data