Fixed some script tests.