Fixed unit tests in userCache-test.