Fixed Assert.IsNotNull
Trim only tab, nl and cr in text