[Minor] removed use of deprecated JUnit classes