Rudimentary test suite is now passing all tests.