Test Generics and Null-ability in a OOP manner using C#