 
 	afterEach ->
 		expect(ok).toBeTruthy()
-		list.onChanged.disconnect listener
+		list.onChange.disconnect listener
 
 	it 'works with set()', ->
-		list = List 1, 2, 3
-		list.onChanged listener
+		list = List [1, 2, 3]
+		list.onChange listener
 
 		list.set 1, 'a'
 
 		expect(args).toEqual [[2, 1]]
 		expect(copy).toEqual [1, 'a', 3]
 
-describe 'onInserted signal', ->
+describe 'onInsert signal', ->
 
 	list = listener = null
 	ok = false

		expect(copy).toEqual [1, 2, 'a']

	it 'works with insert()', ->
		list = List 1, 2
		list.onInserted listener

		list.insert 1, 'a'

		expect(args).toEqual [['a', 1]]
		expect(copy).toEqual [1, 'a', 2]

describe 'onPopped signal', ->

	list = listener = null
	ok = false

describe 'append()', ->

	it 'add an item on the end', ->
		list = List [1]
		list.append 2
		expect(list.items()).toEqual 0: 1, 1: 2

describe 'insert()', ->

	it 'insert an item at given position', ->
		list = List [1, 2]
		list.insert 1, 0
		list.insert 0, 2
		expect(list.items()).toEqual 0: 2, 1: 1, 2: 0, 3: 2
