added upgrade test coverage