test for logical deletions
wrote test for serialization