Fix stack trace befuddlement

Write config object at bottom of test