add slicing test demo