Bump tests to non-deprecated JUnit assertion API.