add test for d1bdf2f (Class.getMethod bug)

I meant to include this in the original commit, but forgot.
Merge pull request #152 from dicej/getMethod-aioobe

add test for d1bdf2f (Class.getMethod bug)