Added test to ensure end of file return 0 messages.