Strip out the whitespace in a test that works locally but then fails on Travis