slice_reductor_to_scalar test case