Refactored tests for Callback.