fix upgrade script
add test to VideoService