I would very much like not to use this 'waitforDoneSeeking' function. However, I'm uncertain how to use the 'seeked' event listener here for two reasons: 
1) the showPlayer flow (setVideoUrl callback function) sets 'seeked'; If the test sets 'seeked' it will get overwritten.
2) There is showPlayer functionality in 'doneSeeking' -- which handles the 'seeked' event --  that needs to be tested. Therefore, the tests need to wait until after the 'seeked' event is handled before it proceeds with the asserts.

I can only think when 'doneSeeking' is finished to invoke a callback function that is only set in the unit test flow. Although it's not ideal because it would be production code that is only executed in the test flow.