SAMZA-412: Use JUnit Assert assertions in tests.