unit testing: add test for the just-fixed slicing issue