Mark examples as pending when around hook does not run them.

Fixes #1582.