Fix JUnit Tests for maven build