Make test more usefull :)

If you got error body.length is grater than 0, if you seek for errorText i think is better...
Update tests
Add renders proper view.

I change my tests like that -> check the actual text is inserted in view as static.
Merge pull request #39 from pablot/patch-1

Make test more usefull :)