Unit test for receive failure after timeout