Created a runnable server and created a test for the server socket