- added test cases for elgamal