Make urls optional for Repository
Add test_check