added test for cues.length