added test for invalid repo