MDL-39005 unittest: add the upgradelib test template.