add tests for command line arguments