@Test
public void invokePositionNegative() {

    FunctionTestUtil.assertResult(insertBeforeFunction.invoke(Collections.singletonList("test"), BigDecimal.valueOf(-1), null), Arrays.asList(null, "test"));
    FunctionTestUtil.assertResult(
            insertBeforeFunction.invoke(Arrays.asList("test", null, BigDecimal.ZERO), BigDecimal.valueOf(-2), "testtt"),
            Arrays.asList("test", "testtt", null, BigDecimal.ZERO));
    FunctionTestUtil.assertResult(
            insertBeforeFunction.invoke(Arrays.asList("test", null, BigDecimal.ZERO), BigDecimal.valueOf(-3), "testtt"),
            Arrays.asList("testtt", "test", null, BigDecimal.ZERO));
}