Fix retrieval of remapped method names

This commit addresses incorrect testing when retrieving remapped method names. The remapped method name should be used instead of the original name when testing for method existence.
Merge pull request #5 from DSH105/remapped-methods

Fix retrieval of remapped method names