Add testcase that would crash before the previous revert.