documentation update, added test for commandline