small fix to whitespace and leftover newline tests