slice silently ignores outof range values. new tests for slice. closes #226