Avoid initializing git for smoke tests.
Trim response text before comparing.