Extend GitAPITest with listeners to monitor error cases

Format GitAPITest with Jalopy for better consistency

Latest changes to GitAPITest
Rename GitAPITest
Updated GitAPITest to compile successfully with latest changes