Add failing test case for callback called twice.

If the callback throws a synchronous error the first time. Issue #76.