remove an unused callback in test