           Backbone.WebSQL.prototype._executeSql.secondCall.calledWith("CREATE INDEX IF NOT EXISTS `klass_user_id` ON `klass` (user_id);")
         ).to.be.true
 
+        expect(Backbone.WebSQL.prototype._executeSql.calledTwice).to.be.true
+
     context 'when index is twe dimensions array', ->
       it 'should execute expected index query', ->
         Klass = Backbone.Model.extend

        expect(
          Backbone.WebSQL.prototype._executeSql.thirdCall.calledWith("CREATE INDEX IF NOT EXISTS `klass_id_parent_id` ON `klass` (id, parent_id);")
        ).to.be.true

  describe '.create', ->
    context 'when optional column doesnt exist', ->

        Backbone.WebSQL.prototype._executeSql.calledWith("CREATE TABLE IF NOT EXISTS `klass` (`id` unique, `value`, `user_id`);")
      ).to.be.true

      expect(Backbone.WebSQL.prototype._executeSql.calledOnce).to.be.true

    it 'can be defined by multiple array', ->
      Klass = Backbone.Model.extend
        store: new Backbone.WebSQL(db, 'klass', ['user_id', 'parent_id'])
