add test for incorrect dimension slicing