Add tests for the collectd codec