initial getSlice implementation for CQL (+ renaming and test refactoring)