Testing connection to repository