Use shared_examples to clean up the callback specs.