Added integration spec for listEventTypes method

Fixed bug in Hashable concern occurred when attribute value is nil