make tests more robust by testing actual commands
update docs