Refactor expectAssert, introduce expectDeprecation
Merge pull request #121 from mixonic/expectDeprecation

Refactor expectAssert, introduce expectDeprecation