callback test: fix callback types