Fix Gruntfile
Add more template engine tests