Change `gen_data` task to test properly.

This commit refs #70.