working install.rb and tests