[test] fix call the callbacks