       ]
 
     assert.equal song.size(), 10
+
+  it "Should have ten patterns", ->
+    song = Song()
+    assert.equal song.toJSON().patterns.length, 10
 
   it "Should know it's tempo", ->
     song = Song

      patterns: [
        pattern1.I
      ]
        
    it "should return all the notes in short timesteps", ->
      assert.equal song.upcomingNotes(0, 1).length, 1
      assert.equal song.upcomingNotes(1, 1).length, 1

    song = Song
      channels: [
        {
          data:
            0: 0
        }, {
          data:
