Fixed all unit tests.