Escape test result queries