Updated unit tests to use TypeAsserter.