Enable engine to take Stderr and Stdout for mocking in tests

This fixes the verbose output in the unit tests by providing the engine ioutil.Discard as the writer.