Generic unit test. Fix for Generic class