Improved git testing
Improved unittest code coverage.
Seperated FunctionContainer class.
Added more git functionality.
Fixed stand-alone test running.