This code does not verify that the multiple calls to callback are actually executing the passed function.