@Test
public void invokeLengthOutOfListBounds() {

    FunctionTestUtil.assertResult(substringFunction.invoke("test", 2, 3), "est");
    FunctionTestUtil.assertResult(substringFunction.invoke("test", -3, 3), "est");
}