+ test to reproduce the NPE during incremental deletion
fixed NPE for incremental deletion: the writer now checks if the context
exists