Stripping whitespace and newlines from assert/comparison