Add a test for cue IDs.

It occurred to me that we don't really have a test for cue IDs.