add test.rb file to test git function