refacted the fifo.c test to a sepapate file fifo_test.c