Split up some of the generate functions for easier testing.
Wrote some tests for the dummy data generator.