Finally (I hope) have slicing operations working. Added more tests + removed debugging cruft