fix a checked mode error

@gaurave, fix a checked mode error in `spark.dart` - I think this is why tests aren't starting up on drone.io.