Tests for is_sequence.