Whitespace management passing all tests