add basic tests for commandline
generate script