Passay #16

Remove #trim() when reading words.
Add unit test.

See https://code.google.com/p/vt-middleware/issues/detail?id=181