added generic methods and fields tests