Updated lifetime tests to use an embedded image.