This test is a bit overkill. We only need a single invocation of `git integration` to make sure it doesn't segfault when doing something more complicated than e.g. printing the help or version. Also, run each command separately with `system` rather than writing a script and testing it.