Slicing tests and fixes
vector slice test