Added callback functions test.