Test for generic method bounds