Better callback example with test.