Testing my generic class