test function for restart problem.
Added removeAllAsyncImages
GI-872 Final cleanup