adding upgrade and downgrade test