Added more unit tests.

All 288 tests pass. 99% coverage on Core/Titan projects.