Add a few assertions, use explicitly typed collection in test
Use explicitly typed list in JGitAPIImpl
Removed unused imports