added compute.slices test