Updated id_method tests for robustness.