fix test and install script