re-factoring unit test for re-send #17