Add debug logging to video tests