Fix issues in windows.
Add initial tests for the GitResolver.