Working mock serve/client