Improve device mocking hooks so they don't use a private member variable
Handles seeking while in buffering state
Improved test
Refactored CEHTML tests and removed some duplicates of common tests