Unit tests for case when the processing returned with ERROR state

@diegoamc when we reviewed https://github.com/mezuro/prezento/pull/105 we forgot bout the unit tests :/

This pull request adds the coverage.
All right!
Accepting pull request, then!