use mock cache session in unit tests