Functional tests for command line applications