more tests for command line api
remove obsolete TODOs