add script unit test