unit testing for replaceWithCallBack() revision