You still should get rid of these checks, and just use `spyOn(window, "Video")`, `spyOn(window, "None")`, etc