Updating test.sh script for soft delete