unit tests for fluentd codec