Fix weird bug. Update install script
Reestructure test