Fixed undeclared symbols and ZnServer tests