Tests and checks for callbackGenerator