Add tests for softdelete feature