Add fifth test for OpenCores Ethernet MAC hardware model

This test waits for all pending interrupts to complete before
checking the value of a global variable that is written by
an interrupt handler.