On the testbench file the data trame is 34 bits long. You need to manually modify the size of the Fifo or else you can add variables such as Width and Depth.
If you are importing into a main design, don't forget to add the component and declare the port map.