Fixed a unittest failure.