testing command-line tool