fanout unit test