test uiview to uiimage