Add callback test for proto3 mode