Improve the tests on the label of the assertion error