                 validation: '/.*/'
 
             expect
-                id: 0
+                id: undefined
                 component: 'inputText'
                 editable: no
                 index: 0

                component: 'inputText'

            expect
                id: 0
                component: 'inputText'
                editable: yes
                index: 0

            $builder.registerComponent 'inputText',
                template: "<div class='form-group'></div>"
                popoverTemplate: "<div class='form-group'></div>"

        it '$builder.insertFormObject() index out of bound', inject ($builder) ->
            spyOn(builderProvider.forms.default, 'splice').and.callFake (index, length) ->
