error in unit test for EventDemand fixed