Added tests for string modify and shift functions.