Fix typo + add test for extra argument in r.connect