Test argument checking of Repository.__init__()