YAHOO-225 -- fix test testRegisterUpgrade