specs: Allow disabling transactions for examples via annotation

Sometimes using transactions doesn't work, especially when working
with schemas.