add test for getSystemRepository