Only replace version in Composer.php, fix user agent
Add test for RepositoryManager repo creation