Test case for new truncate methods.

Test case for new truncate methods.