refactor install.rb and removed registry install, add it instead to the only test that requires it and enforced module path