Improve test coverage of online video publish and fix issues found in testing