Removed trailing spaces.
Tests to cover magnitude formatters.