test truncation