old main sample program now a junit.