I have a test fixture class which initialize database and I like to write some output for debugging purpose. It\'s easy to capture output from unit tests, but how to do in test