moify gf2.py to add server test