Improve tests and do some cleanup

- Add data dump from real data, should have done this long ago.
- Add automatic updating to tests.