test cases for mapping private key