Refactor test
Add truncate