Add tests for #render and #destroy of composite-view