Fix trailing whitespace in tests