Move 'self.maxDiff' assignment in 'test_output.py'