logstash::config: fix trailing whitespaces
further fix existing tests