Add JUnit 4.8/10 backward compatibility