Refactored tests to use local git only not depend on github