Add EventEmitter tests

* Fix oo.EventEmitter#connect: oo.isArray doesn't exist,
  threw exception and should be Array.isArray instead.