Added test cases for secure client