Added some UnitTests and changed Client

Test for Cliend and for NetworkAdapter