check that the right errors are thrown in the tests, using `assert`
check that the right errors are thrown in the tests, using
assert