do not use deprecated exception.message in the tests