Fixed bug

There was a potential bug when stripping blanks from short strings (1 char)
Fixes #30

I also changed a regtest as a check