Modify GitManagerTest using TestSample. Close #48

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