Pass run time to outputs - fix tests