add test for resume