remove resume method, and add test run script