Improve functional test: test the callback removed