EZP-21904: Add integration test

Integration test for issue EZP-21904
Delete Content object Last Location shouldn't throw fatal error