Fixed testing and out of bound slices