Add truncate helper
Add truncate helper tsts to spec runners