fix(test): lots of mocking for GraphiteHandler to avoid real network action, tests now pass again

Change-Id: I65f0868de54cc603afca997b09f3c944f548f6a9
Merge pull request #701 from rtoma/graphite-handler-fix

fix(test): make the GraphiteHandler tests pass again