Added support for directing test output to a unique file