Test for raise in ensure
Merge pull request #1644 from carsonmcdonald/testraiseinensure

Test for raise in ensure