adding more tests for callback mode