added tests
fixed composer
added socket server stub