Refactored NGit unitests