fixing behavior with empty string argument; with test!
Merge pull request #1 from bkendall/fix-empty-string-argument

fixing behavior with empty string argument; with test!