Add trailing whitespace check test