Added unit tests for video source

Known to fail in Safari 7, which reports canplaythrough before video data is actually ready