added storage events and tests