fix delete from prototype in tests