Test that we make the right number of callback calls