fix JUnit failure