JUnit test works now.