Added tests, potentially corrected for git config errors