Add basic output test.

Add mock producer.
Test output publishes a message