Add regression test for seed crash bug.