Brace insertion test fix.
Creating white space invokes isSpacesForTabs method exactly one time.

Minor: refactoring