a test for set item on an array with a slice

It fails in npm at the moment. Test for issue #422