Fix getting video id from URL. Add test.