add support callback , and add the test case

add support callback , and add the test case