Running a test with input yaml will result in output XML being sent
to the stdout. Use mock on the console to capture this so that running
the tests via testtools directly doesn't output unnecessarily
Change-Id: I4ccbfcb464d40a77c04913cb8281a0167504e1a4