Tests the Timeline API instrumentation of a DecodeImage and ResizeImage events