Add more tests for callbacks.
Add more tests.