more work on test query