Merge pull request #21 from ralphtheninja/master

add test for failed pre-upgrade