add trim_trailing_whitespace tests