add script test method