adding test for callbacks