It tests the current running app ID if it's Spark but it doesn't test if the app that is going to be run is Spark.