test for Spark Core