smartened up the TestOutputModel