testing callback in testquery