whitespace fix and test