Reformatted code to be able to run test and added 2 basic tests
Added Server.close_clients() test
Refactored server.py to facilitate tests. Created tests.