[test] Add tests for git repository install