Added a test for a part with an incorrect header length

This covers the `raise(HeaderError) if length > payload.length` segment in the collectd codec.