Added unit tests for install_from