Added macro for testing error messages.

More tests should be added so feel free to check whatever you want.

Review by @vjovanov and @gzm0
IMHO this should be an `Option[c.Expr[String]]`, or even better an `Option[String]`, since you require it to be a constant anyway below. (This is a reasonable requirement)