add tests for @errors object