Fix retrieval of remapped method names not working as intended

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.