fixed testcase, use org.junit.Assert