Spark testing