Fixed Unittests.