Tests the Timeline API instrumentation of a paint event