Add slice tests.