You actually don't have to be speeding to be qualified as racing. Revving up doesn't count, but any speed contest or something like that, I forget the exact law.