Add an assert for strings of different lengths