testing from command line