upgrade script test