Remove global variable for the in-memory list of videos
Add tests for video.py example 2