I think you are casting in the wrong direction though... if the method returns a list of TestA objects, then it really isn't safe to cast them to TestB.
Basically you are asking the compiler to let you perform TestB operations on a type TestA that does not support them.