`state.storage.setItem` is called twice (to store `speed` that was explicitly set by user for the video and to store `general speed` that is default speed in cases when speed wasn't explicitly for specific video) in the `setSpeed` method. We need to store this parameters because there is some issue when user navigates between sequential positions in LMS.
So, I check if this method was called with correct arguments.