Add test and gui install options
Switch test running scipt to argparse