Automated unit testing with junit