Keep TestFixture alive until outputter is done with it

Change-Id: Ifd921efa971f7a9a5c47f42c5d56a3deb1c3a0b3