Added tests for custom error messages.
Updated/corrected docs