SPARK-3688 fix test name and code style