Added unit tests for server cert generation and basic communication.