Testing Spark Code