fix gh-438
Add a scenario of old truncate implementation to the test suite. (gh-438)