corrected the tests with the wrong call back handling