functionserver tests, and networking stuff