Modernised test so that exceptions are not hidden from output
[bugfix] Get the actual Git branch and commit id
Merge pull request #370 from adamretter/develop

Use the actual git branch and commit id (not only supplied commit id)