[core-api] Added DeletionListener tests