Run upgrade script in test build