Added server testing capability and test cases

Added server testing capability and test cases