Add splice with test.