fixed unit test to correctly handle the NativeError assertion when a zero is used as a step in the slice