end to end query log test