More tests (statecache and modelcache)