Support non-disposed render in tests am: d84e1ead52

Change-Id: Ief321f88e751a19244390a9d5d4d561db7901a61