Add new tests to invokde executable dependency via a tool command.
Also fix code where the tests were not getting run.