Inheriting from EventEmitter correctly
Added some simple test cases to ecommerce app