test Fd::read using new mock scheme