Fix "re-test" button not apearing for failed tests