Hook network module to API tests