Remove unused test callback function.