Update for JUnit test