fixed install and test script