Fix test, was not creating a cached table correctly