test from command line