Fix for failing tests.
Fix for failing tests.

roolo/logstasher,jdurand/logstasher,rockaBe/logstasher,shadabahmed/logstasher,jphelps413/logstasher,alexdean/logstasher,MarcGrimme/logstasher,ministryofjustice/logstasher