Added tests for git init