Fixed client unit tests.