updated test query