added test in install script to determine if program can run correctly