Rename errors -> exceptions.
Rename in model and test.
Mock Resource in test api.
Fix print to assert.