added histogram plots to command line tests
cosmetic issues