[bug 978694] Tests for GraphiteMixin.

This wasn't added to the original commit, too many untracked files.
Merge pull request #888 from glogiotatidis/978694

[bug 978694] Tests for GraphiteMixin.