Java application with Junit TestCase