get away from API that was deprecated with junit 4.11