Extract test from spec/model/app to spec/model/error_report

Some test on spec/model/app are too specific to spec/model/error_report
move to this spec
Extract completly the ErrorReport class

Extract all concern about this call to his own class and move test to
this class