rudimentary RegServer.go, worked into MockServer; tests succeed