Improves install
Adds more tests