Fixing tests related to af7bc45

- Reformat error hashes in test responses
- Modify `Her::Errors::ResourceInvalid` to use errors object