Passes all 7 unit tests.