Fix gh-282: Sophia: truncate() does nothing
Test. Fixed in gh-438.