Add test for git clone function
Various PEP8 fixes