Refactoring test to remove use of the fixture and add mock_outputs.
Refactoring exec command to use helper.
Adding command provision.