rename get_m2_pkey into get_m2_pubkey in unit test as well