Test suite for coverage.
A bunch of fixes + updates based on test results.