Got automatic JUnit test of command line working.