fix testOverrideStripTrailingSpaces test
Cleanup (better assertions, warnings)