Added more spec to Emitter spec.
Removed unused factory.