Added unit tests for GitPreparer