tstsc: test stack cache