[Bug #8488] - Offer possibility to add samples for event types
[BUG #8522] fix tests
[Bug #8592] - Improve localStorage feature detection