Fix spec to use callback_result rather than non-threadsafe accumulation. Fixes #5.