Change install script. Add tests for install