The next commit will move occupancy accounting to backfill which makes
testing statistics value even more time dependent. Settling cache before
cache.get_stats() prevents this error-inducing race conditions
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>