add specs for callbacks in stubs.