Fix the unitary tests.