Start a test for #578.
Fixed null reference issue with first commit in IntegrationHelper.