Add unit tests for sim.fifo.