fix test script + path for extracting archives