updated the tests around the cached vector