Fix intermittently failing video js tests