Working gf connection; writing tests