Shouldn't the client not be available here since this test function is being executed in gecko?