adding tests, and dependency injection
Merge branch 'master' of https://github.com/Smellen/SplunkeGSD