[SPARK-4631] unit test for MQTT

Please review the unit test for MQTT
Why make this class if this is used by only one other class? Are you planning to another testsuite, which would justify this abstract class (like KafkaStreamSuiteBase is used by KafkaStreamSuite and ReliableKafkaStreamSuite)?