extend test for handling of generic method types