Correct tests that rely on trailing white spaces
Convert tabs to spaces

The changes are done automatically with the following command:

  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/\t/  /g'