 
 				expect(peer._connection.createAnswer).toHaveBeenCalled()
 				callArgs = peer._connection.createAnswer.mostRecentCall.args
-				expect(callArgs.length).toBe(3)
-				expect(callArgs[0]).toEqual(peer._onLocalDescription)
-				expect(callArgs[1]).toBe(null)
-				expect(callArgs[2]).toEqual({})
+				expect(callArgs).toEqual([
+						peer._onLocalDescription
+						null
+						{}
+					])
 
 		describe 'when receiving an ICE candidate', ->
 			it 'should ignore it if there is not actally no candidate', ->


				expect(peer._connection.addIceCandidate).toHaveBeenCalled()
				callArgs = peer._connection.addIceCandidate.mostRecentCall.args
				expect(callArgs.length).toBe(1)
				expect(callArgs[0]).toBe('a')

		describe 'when the ICE connection state changes', ->
			it 'should trigger a connect event when connected', ->

				expect(fakeController.server.emitTo).toHaveBeenCalled()

				callArgs = fakeController.server.emitTo.mostRecentCall.args
				expect(callArgs).toEqual([
						'1'
						'peer.connectionRequest'
						fakeController.id
						undefined		# old type identifier, currently unused but not yet removed
					])

			it 'should create a data channel', ->
				peer = new Peer(fakeController, '1', false, FakeRTCPeerConnection)
