add test for failed pre-upgrade