Solved problems in unit tests.