Make the tests simpler and check the error message