Added test case to test on bad key exchange