Adjusted some test methods in AsyncRenderingComponentTest  so that they are consistent with other tests.