AIS-22 implemented FIFO for storing packets

incl. test code to verify FIFO operation