Fixing tests

Function get_tool now recieves parsed cli, not args array.