Tests for error handling and related (minor™) fixes.
Merge pull request #26 from apiaryio/hj/test-error-handling

Tests for error handling and related (minor™) fixes