add test for fastSlice