Tests for images slicing