Allow null id for error. Updated test.
Merge pull request #8 from derfel/null_error

Allow null id for error. Updated test.