fix tests
Add a small erb test utility
Improve a bit the Erb parser