Fix empty input was not tested
Typo
Add tests for 'newline' and 'tab'