Adding truncate unit test.