Fix remapped method retrieval 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.