Wrote a huge pile of tests.