fix scripts.test