[TESTING] Fix Kafka output test

When doing randomized testing, one of the tests failed because kafka was not initialized yet