Add truncate & truncateFromCenter with test

This should be better right now :smile: 
The "..." should not be hard coded. It should be passed in as an optional second argument, just like you do in `truncateFromCenter()`.