Fail if attempt made to expect 'expect' or 'check'.
Refactor: DRY up some error checking.