Added negative test for Substr.