Added chai helper to validate callback errors.