Fixed all unittests.