Modify GitManagerTest using TestSample.

Use TestSample(https://github.com/gumfum/TestSample) in all test cases.