Add tests for slices.
Add support for slices.