Added test for callback