Tests for soft cache.