Fix junit.framework.Assert deprecated warnings