Add a client/server test using generic structs