Add a special method that replaces `assert` and dumps files in which an error appears.
Add a special method that replaces
assertand dumps files in which an error appears.