Added tests to Test.cs. Can be moved to tests folder as a TestClientApp
and make the existing TestConsoleApp as a TestServerApp