add unit tests for asset delete/restore