Added Repository tests