added exemplary command line script and tests for it