Initial fix.
Fixing Jasmine tests.
Fixing Jasmine tests. Refactoring tests.
Removing artefacts in Video Jasmine tests.
Further tweaking tests to make them pass even on laggy hardware.
Final cleanup of Video Jasmine tests before review.
Removed unnecessary trailing comma.
Disabling some Jasmine tests.
Answering comments on PR.