Testing modstring functions.