Fix 'trim' of undefined

A test was failing. This ensures we have a string to call trim() on.
Merge pull request #6 from kevlened/patch-1

Fix 'trim' of undefined