tests for check that "expect" fails as expected