Add callbacks unit test.