LPS-32236 Console errors thrown when emptying the Recycle Bin

I've checked that the new tests fail when the solution is not applied, so they will be useful to detect if newly supported trashable entities are not correctly implemented. 

See my comments at #epgarcia/37