suite('ConnectionsModel', function() {
  suite('#toJSON', function() {
    test('should return array', function() {
      var connection = new coupler.ConnectionModel();
      var connections = new coupler.ConnectionsModel();
      assert.deepEqual(connections.toArray(), connections.toJSON());
    });
  });

  suite('#load', function() {
    test('should create connections', function() {
      var connections = new coupler.ConnectionsModel();
      connections.load([{
        name: 'Foo',
        adapter: 'MySQL',
        host: 'localhost',
        port: 123,
        user: 'foo',
        password: 'secret'
      }]);
      assert.equal(1, connections.size);
    });
  });
});

@@ -215,24 +215,58 @@
 onsModel();%0A
+      connections.add(connection)%0A
       assert
@@ -276,16 +276,17 @@
 epEqual(
+%5B
 connecti
@@ -291,19 +291,9 @@
 tion
-s.toArray()
+%5D
 , co
@@ -631,16 +631,71 @@
 'secret'
+,%0A        datasets: %5B%7Bname: 'foo', table_name: 'foos'%7D%5D
 %0A      %7D

Update ConnectionsModel serialization tests