Trim trailing whitespace with BasicFormatter
Begin adding tests