This test ensures drawPattern() decodes a new image frame when new encoded data is received.