Minor fix for a test for JUnit.