proper query cancellation tests