Rounded out the test suite, although most tests are just TODO placeholders.