Add new regression test for cacheMode=global