Script for generating regression test data, fixes #61