added inheritance Client,Worker -> ServerMate
tests work again