Add missing test cases for `attribute_method?`
Merge pull request #15850 from sgrif/sg-missing-tests

Add missing test cases for `attribute_method?`