Add spec for previous character string fix