create unit test of soft-delete.
add unit test.