Adds truncation tests
Merge pull request #3812 from twokul/truncation-tests

Adds truncation tests