add slicing tests. ref #118