removed trailing \r and \n in a display math test