Added test and fix slices
- Added words test
- fix slices for words.