Store off the metadata for the CEHTML tests

Because the device has no 'metadata' event, we need to store the metadata from the tests, and actually make it available when buffering finishes