Fix stabilization opt not being applied(in dev version only)

reported by David Huggins Daines.

I also add missing tests about tutorial examples.