Fixed failing JSON cache test