Add tests for reading sliced files.