Add method to test connection/credentials