Fixing test truncation.
Merge pull request #43 from ploer/master

Fix to previous pull request.