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.