Added GraphiteWriter tests.

Not much of a test, but at least it makes sure the writer is not completely broken ...