Add pytest testing to install script