Fixed the test for debug callback