Added test for ItemRedirect.
Fixed editor creation in test_delete.