implemented Server #listen with test