Fixed permission in test script.