Restructure trim_trailing_whitespace spec