unit test support.