AsyncRenderingComponent no longer uses the platform dependent clearRect method.
Added tests for AsyncRenderingComponent.