Update DocTest: SREM now returns the number of removed objects