Fixed deprecation warnings for new JUnit 4.11 by migrating to
org.junit.Assert.