testing of the Spark streaming