[SPARK-1022] Add real unit test for Spark Streaming Kafka input

This patch adds the real unit test for Kafka input DStream, as mentioned in [SPARK-1022](https://spark-project.atlassian.net/browse/SPARK-1022?jql=project%20%3D%20SPARK).