client test with fake io