Moved eventCallback to shared setup
Use common event callback
Changed asserts to use assertState
Added assertEvent helper function
Added clearEvents helper
Merge branch 'new-media-api-sentinels' of https://github.com/fmtvp/tal into new-media-api-sentinels