Also test exit status in check test suite
This means that the tests can partially run on machines
without expect installed.
Use double brackets to check git status output
Also use --porcelain switch