Random regression tests


The idea is that we don't have time to manually setup hundreds of tests and calculate our expectations so instead we compare some random tests to the results of a previous run.

We can log the results of each operation in a file and compare the resulting files to some previous execution.