New tests for Array#slice() and a fix in the tested function: if begin >= end, the slice will be empty.