testSlice works