Unit test framework improvements.