Checking whether object exists before calling method on it.
Tests: Added a TC removing img at IE might cause an exception.
Test: Image deletion is no longer an IE specific test.