Prevent function from generating EOL whitespace
Fix tests, remove EOL whitespace
Merge pull request #150 from acaire/master

Remove Unnecessary EOL whitespace