Added a JUnit test.
Interactive communication is removed from the original  InstallCert.java
code.