Added integration test for delete entity.