test repository in c#