There's a pretty awful hack currently in place to add the reason
attribute to the TestResponse class. This code correctly initializes
the class, including the reason attribute.
Change-Id: I73384db1f89add051547f4d5db36ab1e647e84ef
Closes-Bug: 1613740
(cherry picked from commit 2c859f1d6d)