Bugfixes in MemoryFIFO test.