fix incorrectly upgraded test