Added simple command line testing.