fixed usages of deprecated JUnit classes