test callbacks that compile