Added unit tests for Packet and Server classes