Added macro for testing error messages.
More tests should be added so feel free to check whatever you want.
Merge pull request #22 from hubertp/topic/test-error-msgs

Added macro for testing error messages.