Include collectd.h before testing.h