add beforeWith to transform param for cases

Hspec2 now has `aroundWith`. However, sometimes, `beforeWith` can be more convenient.

Related to issue #161.